home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 223_01 / unlink.c < prev    next >
Text File  |  1980-01-01  |  512b  |  21 lines

  1. /*    
  2. ** unlink(name) char *name;        by F.A.Scacchitti  10/86
  3. */
  4.  
  5. #define NOCCARGC
  6. #include <stdio.h>
  7.  
  8. static FILE fd;
  9.  
  10. unlink(name) char *name; {
  11.  
  12.    if((fd = fopen(name, "r")) != NULL){
  13.       bdos(19,fd);
  14.       freeio(fd);
  15.       return(TRUE);
  16.    }else{
  17.       return(FALSE);
  18.    }
  19. }
  20.  
  21.